REALdatabase.LastRowID Function
Returns as an Integer the value of the last rowID added to the specified table.
Syntax
result = REALdatabase.LastRowID( tablename )
Parameters
tablename
String
Return Value
Result
Integer